<template>
<div>
    <img :src="data.coverImgUrl"  />
    <p>{{data.name |farmat()}}</p>
  </div>
</template>
<script>
export default {
    name:"Item",
    props:{
        data:{
            type:Object,
            required:true
        }
    }
}
</script>
<style lang="less" scoped>
img{
    width:120px;
    height: 120px;
}
p{
    font-size: 12px;
}
</style>